package fs

// FileInfo describes an entry in the filesystem.
type FileInfo struct {
    Name  string
    IsDir bool
    Size  int
}

// FileSystem provides minimal read-only operations.
type FileSystem interface {
    ReadFile(path string) ([]byte, bool)
    List(dir string) ([]FileInfo, bool)
}